html,
body {
  overflow-x: hidden;
  /* bloque le scroll horizontal */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  -ms-overflow-style: none;
  /* IE & Edge */
  scrollbar-width: none;
  /* Firefox */
  background-color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  color: #333;
  margin: 0;

}

/* Colonne gauche (logo) */
.header-left {
  flex: 1;
  display: flex;
  align-items: center;
}

/* Colonne centrale (menu) */
.header-center {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Colonne droite (bouton Connexion) */
.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}


.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 160px;
  padding: 0 3rem;
  background-color: #121212;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  font-family: 'Segoe UI', sans-serif;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

/* Image du logo */
.logo-img {
  height: 80%;
  max-height: 400px;
  object-fit: contain;
}

/* Menu de navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}


.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00d1b2;
}



/* Bouton Connexion */
.login-button {
  padding: 0.6rem 1.2rem;
  background-color: #540886;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: #a00070;
}
/* === PAGE PRODUIT === */
.product-page {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: 'Arial', sans-serif;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #007bff;
  text-decoration: none;
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.product-images {
  flex: 1 1 500px;
  position: relative;
  text-align: center;
}

.product-images img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  transition: opacity 0.5s ease;
}

.slider-arrows {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.arrow {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #000;
  transition: color 0.3s ease;
}

.arrow:hover {
  color: #007bff;
}

.add-to-cart-wrapper {
  text-align: center;
  margin-top: 20px;
}

.btn-add-to-cart {
  background-color: #000;
  color: white;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 30px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Arial', sans-serif;
}

.btn-add-to-cart:hover {
  background-color: white;
  color: black;
  border-color: black;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 40px auto 20px;
  padding: 0 20px;
  border-bottom: 1px solid #ddd;
}

.product-header h1 {
  font-size: 2rem;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
}

.product-header .price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}

/* === DESCRIPTION & SPECS === */
.product-content {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

.product-description,
.product-specs {
  flex: 1;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  font-size: 18px;
  text-align: left;
  /* force l’alignement du texte */
}

.product-specs h3 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 10px;
}

.product-specs ul {
  list-style: disc;
  align-items: left;
  padding-left: 20px;
  /* ou 10px si tu veux vraiment coller */
  margin: 0;
  /* supprime tout margin par défaut */
  text-align: left;
  /* force l’alignement du texte */
}

.product-options {
  margin-top: 2rem;
  font-family: 'Segoe UI', sans-serif;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.option-group div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.option-btn {
  padding: 0.6rem 1.2rem;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-btn.active {
  background-color: #540886;
  color: #fff;
  border-color: #540886;
}

/* === RESPONSIVE === */

/* TABLETTES */
@media (max-width: 1024px) {
.site-header {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 1rem;
  }

  .logo-img {
    max-height: 120px;
    margin-bottom: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .header-right {
    margin-top: 1rem;
  }

  .product-container {
    flex-direction: column;
    align-items: center;
  }

  .product-content {
    flex-direction: column;
    gap: 30px;
  }

  .product-description,
  .product-specs {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
  }

  .product-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .product-images img {
    max-width: 90%;
  }
}

/* SMARTPHONES */
@media (max-width: 600px) {
  body {
    font-size: 0.9rem;
  }

  .site-header {
    height: 80px;
    /* Hauteur réduite du header */
    padding: 0 1rem;
    overflow: visible;
    /* Laisse le logo dépasser */
    position: relative;
  }

  .logo-img {
    max-height: 400px;
    /* ton logo peut rester grand */
    height: auto;
    margin-top: -160px;
    /* ajuste pour centrer visuellement le logo */
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  .product-page {
    padding: 0.5rem;
  }

  .product-header h1 {
    font-size: 1.5rem;
  }

  .product-header .price {
    font-size: 1.5rem;
    color: green;
  }

  .product-content {
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
  }

  .product-description,
  .product-specs {
    font-size: 0.95rem;
    padding: 15px;
  }

  .option-btn {
    width: 100%;
    max-width: none;
  }

  .add-to-cart-wrapper {
    margin-top: 1.5rem;
  }

  .btn-add-to-cart {
    width: 100%;
    font-size: 1rem;
  }

  .slider-arrows {
    font-size: 1rem;
  }
}
 /* ======== MENU BURGER ======== */
  .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: 0.3s ease;
  }

  /* Animation croix quand ouvert */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }


/* --- Responsive (max 900px) --- */

@media (max-width: 900px) {

  .site-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: auto;
    padding: 1rem;
    position: relative;
  }

  .logo-img {
    max-width: 300px;
    height: auto;
    margin: 10px auto;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 1000;
    cursor: pointer;
  }

  .header-center {
    width: 100%;
  }

  /* ======= Menu caché par défaut ======= */
  .nav-links {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #121212;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #333;
    gap: 1rem;
  }

  /* ======= Quand le menu est ouvert ======= */
  .nav-links.show {
    display: flex;
  }

  /* ✅ 3 liens par ligne bien centrés */
  .nav-links li {
    flex: 1 1 28%;
    min-width: 100px;
  }

  .nav-links a {
    display: inline-block;
    width: 100%;
    background-color: #1e1e1e;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.8rem 0;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }

  .nav-links a:hover {
    background-color: #540886;
  }

  /* On centre le bouton connexion sous le menu */
  .header-right {
    display: none;
    margin-top: 1rem;
  }
}

.login-button {
  width: auto;
  /* pour ne pas étirer le bouton */
  padding: 0.6rem 1.2rem;
}